Hardware Turing machine with tape semantics, multi-form-factor support (desktop/laptop/phone), and FFM control plane.
What’s new (v2): Explicit Turing Fabric comprised of a Photonic Delay Tape (PDT) and a Hardware Tape Accelerator (HTA on FPGA); dual‑cycle control (speculative photonic, commit electronic); ephemeral memory lanes; and a pin‑compatible carrier that keeps your tactile TP‑4/TD‑12 and panel geometry from v1.
Design Goals
Make the tape model a real device (not an emulator) with head moves and δ‑table transitions in hardware.
Keep Von Neumann SOM for OS, toolchains, and GPU while offloading stream/graph workloads to HTA.
Guarantee determinism with epoch commits at tape frame boundaries.
Use ephemeral buffers for one‑shot intermediates; no reuse by default.
Optional only — BRAM ring is default tape for dev bring‑up.
Hardware Tape Accelerator (HTA) on FPGA
Tape BRAM Ring: 1–4 lanes, configurable alphabet (1/2/4/8‑bit symbol), head index pointer.
TTRAM: δ table RAM: (state, sym) → (state', sym', dir) with 16‑bit fast path and 24/32‑bit extended modes. Dir is explicit 2‑bit (00=L,01=R,10=N,11=RES/ERR).
Power of two tape frames (e.g., 1024 steps) programmable via EPOCH_LEN_2K
Commit latency
< 10 µs after epoch boundary IRQ
Jitter budget (engineering constraint):
Allowable sampling jitter is < 1/10 symbol period. Examples: at 1 Msym/s (1 µs period) → ≤ 100 ns; at 5 Msym/s (200 ns period) → ≤ 20 ns.
Tie the ADC sampling clock phase noise/jitter spec to this budget when selecting parts.
⚡ Free-Form Memory (FFM) Architecture
x43 Nucleus Kernel with FFM Control Plane
Transactional control over HBM/DDR bandwidth shares, optical fabric reservations, and photonic admission governance. FFM implements epoch-based commits that integrate seamlessly with HTA tape boundaries.
Epoch ID: Transaction identifier for atomic commits
📈 Telemetry (Live)
Bandwidth: Per-stack HBM/DDR utilization (Bps)
Fabric: TX/RX throughput (Gbps)
H-ratio: Photonic health (0..1)
Calibration: Duty cycle fraction
Queue Depth: OPTX tile job queue
Active Epoch: Currently running configuration
⚙️ Kernel API
k_ffm_set(FFMShare* share) → stage into shadow regs
k_ffm_commit(uint64_t epoch) → atomic swap at safe barrier
k_ffm_query(FFMTelem* telem) → one-shot telemetry snapshot
/* Epoch commit integrates with HTA tape boundaries */
🔬 Ephemeral Memory
Optional FFM_EPHEMERAL buffer class
Software-enforced use-once semantics
Reads invalidate content post-DMA
Integrates with HTA SNAP instruction
📐 Form Factor Designs
Three form factors sharing the same TLH architecture: desktop (210×150×110mm), laptop (13.3″ class), and phone (6.1″ class) with tactile docking and consistent tape/FFM control.
EPOCH_LEN: length in steps (alternative to EPOCH_LEN_2K)
0x0C
EPOCH_ID: incremented each boundary
0x0E
H_MIN: health minimum threshold (Q1.15)
0x10
RUN_EPOCHS: bounded run counter
0x12
STEP_BUDGET: max steps before auto‑idle
0x20..
TTRAM Port: program δ entries
0x30
TRACE_CFG: sample every N steps (0=off)
0x32
TRACE_WPTR/RPTR: ring pointers
0x34..
TRACE_DATA: {epoch, head_pos} windows (state/sym adjacent)
Error semantics:err=1 on jitter_over_budget, adc_saturation, illegal δ entry (dir=11), tape underflow, or photonic health below H_MIN. A distinct IRQ (health gate) fires when H<H_MIN; it is not a HALT.
Micro‑ISA (host‑side)
DEFINE_TRANS q, sym -> q', sym', dir
WR0 | WR1 ; write symbol
MOVL n | MOVR n ; move head by n
STEP k ; execute k transitions
RUN ; run until HALT or epoch IRQ
RUN_EPOCHS n ; run bounded number of epochs
HALT
SNAP dst,len ; copy tape window to host buffer (ephemeral)
TRACE_SNAP dst,max ; copy trace ring (respects ephemeral)
COMMIT_EPOCH ; flip staged FFM/HTA settings at boundary
Fast path uses 16‑bit entries for binary demos. Extended modes use 24/32‑bit entries with explicit 2‑bit direction and configurable SYM_WIDTH (1/2/4/8). This provides headroom for quaternary symbols, byte‑wise streams, or cellular automata without hacks.
1–4 lanes resident in BRAM. By default, transitions are independent per lane.
Optional coupling is supported via LANE_MASK and peek semantics (δ can read i±1 symbols for de‑risking multi‑tape algorithms).
Panels & Port Geometry
This build keeps your v1 hole table and adds PDT standoff points and a fiber bay. Use the CSV below in your CAD. Current sheet: rev 2, 2025‑10‑11. Optics windows (lid and top edge) allow ±0.2 mm tolerance on slot width and ±0.3 mm on spacing; maintain black baffles to reduce stray light.